﻿using System.Configuration;

namespace CID.Execution.Support.PackageHandling.Configuration
{
    public class PackageHandlerElementCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new PackageHandlerElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((PackageHandlerElement)element).PackageTypeName;
        }
    }
}
